package com.gexiaobao.pigeon.app.model.bean

import java.io.Serializable

/**
 * created by : hxw
 * @date : 20221128
 * Describe :
 */
class PigeonBean(

    var total: Int = 0,
    var ringInfo: ArrayList<RingInfo>

) : Serializable {
    /**
     * 数据是否为空
     */
    fun isEmpty() = ringInfo == null || (ringInfo as List<*>).isEmpty()

    class RingInfo(
        var pigeonId: Int = 0,//赛鸽id
        var name: String = "",//寄养人姓名
        var checked: Int = 0,//
        var shedNo: String = "",//棚号
        var ringId: String = "",//足环号
        var sex: Int = 0,
        var wantedOrgId: Int = 0,
        var memberId: Int = 0,
        var featherColor: Int = 0,//羽色
        var featherColorStr: String = "",//羽色
        var eyePattern: Int = 0,//眼沙 1-未知 2-黄,3-砂 4-牛
        var fatherRingId: String = "",//父亲环号
        var motherRingId: String = "",//母亲环号
        var birthday: String = "",//出壳日期
        var raiser: String = "",//育种者
        var ringSn: String = "",//电子环号
        var pigeonDesc: String = "",//赛鸽描述
        var pairOwner: Int = 0,//1个人 2俱乐部
        var ringType: Int = 0,//1：普；2：特
        var pigeonName: String = "",//赛鸽昵称
        var bodyPicPath: String = "",//全身照
        var featherPicPath: String = "",//翅膀照
        var rightHeadPicId: String = "",//右侧头照
        var leftHeadPicPath: String = "",//左侧头照
        var isChecked: Boolean

    ):Serializable
}